<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">最近浏览商品</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<!--最近浏览S-->
<?php if (count($output['viewed_goods'])>0){ ?>
<div class="margin visited-wrap">
    <div class="radius-big bg-white padding men-visited">
        <?php foreach($output['viewed_goods'] as $k=>$v){ ?>
        <dl class="clearfix ">
            <dt class="x3"><a href="<?php echo ncUrl(array('act'=>'goods','goods_id'=>$v['goods_id']), 'goods'); ?>"><img src="<?php echo thumb($v,'small'); ?>" onerror="this.src='<?php echo TEMPLATES_PATH.'/images/touch2013/no_140_140.jpg'?>'" width="100%" height="auto"></a></dt>
            <dd class="x9">
                <h5 class="goods-name"><a href="<?php echo ncUrl(array('act'=>'goods','goods_id'=>$v['goods_id']), 'goods'); ?>"><?php echo $v['goods_name']; ?></a></h5>
                <div class="padding-top"><span class="goods-price text-big text-red ">￥<?php echo $v['goods_store_price'];?></span></div>
            </dd>
        </dl>
        <?php }?>
    </div>

</div>
<?php } else {?>
<!--无内容S-->
<div class="noTxt text-center text-gray padding-large">
    <i class="icon-meh-o"></i>
    <p>您最近没有浏览过商品<br><a href="index.php?act=official_shop" class="text-ef7f7e">随便逛逛</a>可能会遇到喜欢的商品。</p>
</div>
<?php }?>
<!--无内容E-->
